aboutsummaryrefslogtreecommitdiff
path: root/src/pages/blog/[...slug].astro
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2024-02-05 21:16:42 -0500
committerAndrew Lee <alee14498@protonmail.com>2024-02-05 21:24:35 -0500
commitbf7ebfa81791703959015c9b1b8ddbc4edae5ee3 (patch)
tree730e9eb3cc0843e93a2e02007f1f9f63f32df8c8 /src/pages/blog/[...slug].astro
parent0fed60dc83db376ddb3f7c835894db29dfe51994 (diff)
downloadpersonal-website-bf7ebfa81791703959015c9b1b8ddbc4edae5ee3.tar.gz
personal-website-bf7ebfa81791703959015c9b1b8ddbc4edae5ee3.tar.bz2
personal-website-bf7ebfa81791703959015c9b1b8ddbc4edae5ee3.zip
Tags in blog post
Diffstat (limited to 'src/pages/blog/[...slug].astro')
-rw-r--r--src/pages/blog/[...slug].astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro
index e0b07e9..86690c6 100644
--- a/src/pages/blog/[...slug].astro
+++ b/src/pages/blog/[...slug].astro
@@ -16,7 +16,7 @@ if(entry === undefined) {
const { Content } = await entry.render();
---
-<Page title={entry.data.title} description={entry.data.description} pubDate={formatDate(entry.data.pubDate)}>
+<Page title={entry.data.title} description={entry.data.description} pubDate={formatDate(entry.data.pubDate)} tags={entry.data.tags}>
<main>
<a href="/blog" class="back-link">← All articles</a>
<article>